<?php

use Phinx\Migration\AbstractMigration;

class ChannelAddField extends AbstractMigration
{
    public function up()
    {
        $table = $this->table("sys_channel");
        $table->addColumn('sharing_ratio', 'decimal', ["scale"=>2, "precision"=>10, "comment"=>"渠道分成百分比"])
            ->save();
    }
}
